package yf.mall.dao;

import org.apache.ibatis.annotations.Param;
import yf.mall.entity.AnswerEntity;
import yf.mall.vo.AnswerVo;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;
import java.util.List;
/**
 * 回答表Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Dec 15 13:24:48 CST 2020
 */
@Mapper
public interface AnswerDao extends BaseDao<AnswerEntity> {

    List<AnswerVo> findVo(AnswerVo vo);

    AnswerVo getVo(Long id);

    List<AnswerEntity> queryByQuestionId(@Param("questionId") Long questionId,@Param("status")Integer status);

}
